html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-image: url(../img/bg5.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    font-weight: 300;
    font-family: 'Open Sans','helvetica',arial,sans-serif;
    color: #62686f;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 300;
}

.container {
    width: 960px;
    margin: 0 auto;
}

.main-header {
    padding: 1px;
    margin-top: 90px;
    background-image: url(../img/banner.jpg);
    text-align: center;
    width: 100%;
}

.main-header__avatar {
    display: block;
    margin: 0 auto;
    margin-top: -70px;
    margin-bottom: 10px;
    border: 3px solid white;

    border-radius: 999px;
    box-shadow: 0 0px 2px 1px rgba(0,0,0,0.2);
}

.main-header h1 {
    margin-bottom: 20px;

    color: #fff;
    font-weight: 300;
    font-size: 50px;
    font-family: 'Open Sans','helvetica',arial,sans-serif;
    text-shadow: 0 1px rgba(0,0,0,0.3);
}

.main-nav {
    background-color: #333;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.main-nav ul li {
    margin: 15px 10px;
    display: inline-block;
}

.main-nav ul li a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
}

.main-nav ul li a:hover {
    text-decoration: underline;
}

.info-section {
    padding: 30px 60px;
    background-color: #fff;
}

.info-section header {
    text-align: center;
}

.info-section header h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.info-section header h2:after {
    display: block;
    width: 80px;
    margin: 15px auto;
    content: "";
    border-bottom: 3px solid black
}

.info-section__description {
    font-style: italic;
}

.whatido__skill-list {
    margin: 0;
    margin-top: 60px;
    padding: 0;
    list-style: none;
}

.whatido__skill {
    float: left;
    text-align: center;
}

.whatido__skill--code {
    padding-top: 100px;
    width: 33%;
    background-image: url(../img/skill-code.png);
    background-repeat: no-repeat;
    background-position: center top;
}

.whatido__skill--design {
    padding-top: 100px;
    width: 33%;
    background-image: url(../img/skill-design.png);
    background-repeat: no-repeat;
    background-position: center top;
}

.whatido__skill--product {
    padding-top: 100px;
    width: 33%;
    background-image: url(../img/skill-product.png);
    background-repeat: no-repeat;
    background-position: center top;
}

.whatido__skill-list:after {
    content:"";
    display:table;
    clear:both;
}

.education-experience img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
}

.float-left {
    float: left;
}

.clearfix {
    clear: both;
}

.education-experience__list__description {
    padding-left: 20px;
    overflow: hidden;
}

.photos {
    padding: 1px;
}

.photos__list {
    margin: 0;
    margin-top: 60px;
    padding: 0;
    list-style: none;
}

.photos__list li {
    text-align: center;
    width: 25%;
    float: left;
}

.photos__list img {
    padding: 10px;
    width: 100%;
}

.get-in-touch__list {
    list-style: none;
}

.photos__list:after {
    content: '';
    display: table;
    clear: both;
}

.get-in-touch__list li {
    float: left;
    text-align: center;
    padding: 20px;
}

.get-in-touch__list li:first-child {
    margin-left: -20px;
}

.get-in-touch__list li:after {
    content: "";
    display: table;
    clear: both;
}

.contact input,
.contact textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 80%;
}

.contact button {
    border: none;
    border-radius: 9999px;
    background: #ffd524;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    color: #fff;
    box-shadow: 0 3px 0 #daae1d;
}

.label {
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
}

form {
    width: 40%;
    text-align: center;
    position: relative;
    margin: 0 auto;/*会自动计算左右距离，否则不居中*/
}

.box {
    position: relative;
    margin: 5px auto;
}

